#ifndef SHADERTEXTURED_H
#define SHADERTEXTURED_H

#include "d3dUtil.h"
#include "Shader.h"

namespace mgfx
{
	class ShaderTextured : public Shader
	{
	public:
		ShaderTextured();
		virtual bool init();

		virtual void setParamsGlobal();
		virtual void setParamsModel(ModelDrawCall * drawCall);

	protected:
		ID3D10EffectMatrixVariable* mVar_gWVP;
		ID3D10EffectShaderResourceVariable* mVar_gTexture;

		/*struct DrawCallData
		{
			D3DXMATRIX gWVP;
			ID3D10ShaderResourceView * gTexture;
		};*/
	};


}



#endif